package com.yqd.d2_inheritance;

public class Animal {
    private String gender;

    public void eat() {
        System.out.println("吃饭");
    }
}
